home *** CD-ROM | disk | FTP | other *** search
- How To
- ======
-
- To use this command, drop the "match" file into your nShell "bin" directory.
-
- Description
- ===========
-
- NAME
-
- match - type matching lines to standard output
-
- SYNOPSIS
-
- match -p 'pattern' [file...]
-
- DESCRIPTION
-
- This is a grep-like command. Patterns are specified in shell-sytle wildcards, so a pattern of:
-
- yak - will match all lines containing "yak"
- foo*bar - will match lines containing "foo" followed by "bar".
- [a-c]oo - will match lines containing "aoo", "boo" or "coo".
-
- NOTE: It is important to put single quotes around patterns containing wildcards, so that the shell will not match them with file names.
-
- RETURN CODES
-
- <0 Error
- 0 Success
-